package com.neusoft.tijian.controller;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.neusoft.tijian.po.CiReport;
import com.neusoft.tijian.service.CiReportService;

@RestController
@RequestMapping("/ciReport")
public class CiReportController {

	@Autowired
	private CiReportService ciReportService;

	/**
	 * 报告 检查小项总结 3个
	 * @param ciReport
	 * @return
	 */
	@RequestMapping("/listCiReport")
	public List<CiReport> listCiReport(@RequestBody CiReport ciReport) {
		return ciReportService.listCiReport(ciReport.getOrderId());
	}
}
